package cn.com.inossem.http;

import cn.com.inossem.config.WSConfig;

/**
 * 接口
 * Created by Mickey.Li on 2017-8-15.
 */
public class Api {
	/**
	 * te列表（工时、报销）
	 */
	public static String pro_ApplyList(int type_te, int pageNo) {
		if (type_te == 1) {
			return WSConfig.LOCAL_URL + "te/findByParams?pageSize=10&pageNo=" + pageNo;
		}
		return WSConfig.LOCAL_URL + "reimburse/findByParams?pageSize=10&pageNo=" + pageNo;
	}

	/**
	 * 项目详情
	 */
	public final static String PROJECT_DETAIL = WSConfig.LOCAL_URL + "projectInfo/";
	/**
	 * 报销单号
	 */
	public final static String PROJECT_EXPENSE_NO = WSConfig.LOCAL_URL + "reimburse/getNo";
	/**
	 * 工时单号
	 */
	public final static String PROJECT_HOUR_NO = WSConfig.LOCAL_URL + "te/getNo";
	/**
	 * 提交报销
	 */
	public final static String PROJECT_APPLY_EXPENSE = WSConfig.LOCAL_URL + "reimburse";
	/**
	 * 提交报销
	 */
	public final static String PROJECT_APPLY_HOUR = WSConfig.LOCAL_URL + "te";
	/**
	 * 总报销和工时
	 */
	public static final String PROJECT_APPLY_TOTAL = WSConfig.LOCAL_URL + "projectInfo/total";
	/**
	 * 已提交工时
	 */
	public static String PROJECT_APPLYED_HOUR = WSConfig.LOCAL_URL + "te/";
	/**
	 * 已提交报销
	 */
	public static String PROJECT_APPLYED_EXPENSE = WSConfig.LOCAL_URL + "reimburse/";
	/**
	 * 工时催办邮件
	 */
	public static String TE_EMAIL = PROJECT_APPLYED_HOUR + "sendEmail/";
	/**
	 * 报销催办邮件
	 */
	public static String EXPENSE_EMAIL = PROJECT_APPLYED_EXPENSE + "sendEmail/";
}
